package com.itheima.homework;

import java.util.Scanner;
public class Test5 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个整数:");
        int a = sc.nextInt();
        System.out.println(isOdd(a));
    }
    public static boolean isOdd(int a) {
        if (a % 2 == 0) {
            return false;
        } else {
            return true;
        }
    }
}
